﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 系统用户权限表实体
    /// </summary>
    public class SystemUser
    {
        public string UserID { get; set; }       //用户编号
        public string Password { get; set; }     //用户密码
        public int BaseFunction { get; set; }    //基础信息模块权限
        public int PurchaseFunction { get; set; }//进货模块权限
        public int SaleFunction { get; set; }    //销售模块权限
        public int UserFunction { get; set; }    //用户管理模块权限
        public SystemUser() { }
        public SystemUser(string userid, string password, int baseFunction, int purchaseFunction, int saleFunction, int userFunction)
        {
            this.UserID = userid;
            this.Password = password;
            this.BaseFunction = baseFunction;
            this.PurchaseFunction = purchaseFunction;
            this.SaleFunction = saleFunction;
            this.UserFunction = userFunction;
        }
    }
}
